<!--
 * @description 展品组件
 * @author cuiliuhao
 * @date 2023/3/17
 -->
<template>
  <div>
    <cell-title
      v-if="(isShowModuleName || option.isMore === '1')"
      :title="option.moduleName"
      :hide-desc="option.isMore === '2'"
      :option="option"
      :style="{
        'background-color': backgroundColor,
        'border-radius':
          radiusSize+ ' ' + radiusSize + ' 0 0'
      }"
    />
    <exhibitWaterfall v-if="option.isWaterfall" :option="option" :is-init-data="isInitData" />
    <exhibitList v-else :option="option" />
  </div>
</template>

<script>
import mixins from './../mixins'
import exhibitWaterfall from './components/exhibitWaterfall'
import exhibitList from './components/exhibitList'
import CellTitle from '@/components/CustomPage/apps/widget/characters/cellTitle'
export default {
  name: 'ExhibitListRegular',
  components: { exhibitWaterfall, exhibitList, CellTitle },
  mixins: [mixins],
  props: {
    option: {
      type: Object,
      default: {}
    },
    isInitData: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {

    }
  }
  // computed: {
  //   isShowModuleName() {
  //     return this.option.isShowModuleName || false
  //   }
  // }
}
</script>

<style lang="scss" scope>

</style>
